<template>
    <div class="empty-box">
      <img class="empty-img" src="@/assets/loading-imgs/nodata.png" alt="">
      <slot class="empty-text"></slot>
    </div>
  </template>
  
  <script setup>
  </script>
  
  <style scoped>
  .empty-box {
    font-size: 1.2rem;
    color: #999;
    font-weight: 500;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .empty-img {
    width: 100px;
    height: 100px;
  }
  
  .empty-text {
    position: absolute;
  }
  </style>
  